package com.sandasai.domain;

/**
 * Mark entity. @author MyEclipse Persistence Tools
 */

public class Mark implements java.io.Serializable {

	// Fields

	private Integer id;
	private Teacher teacher;
	private Work work;
	private String comment;
	private Double score;

	// Constructors

	/** default constructor */
	public Mark() {
	}

	/** full constructor */
	public Mark(Teacher teacher, Work work, String comment, Double score) {
		this.teacher = teacher;
		this.work = work;
		this.comment = comment;
		this.score = score;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Teacher getTeacher() {
		return this.teacher;
	}

	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

	public Work getWork() {
		return this.work;
	}

	public void setWork(Work work) {
		this.work = work;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public Double getScore() {
		return this.score;
	}

	public void setScore(Double score) {
		this.score = score;
	}

}